
public class testBanque {


public static void main(String[] args) {
    try {
	Banque laBanque = new Banque();
	
	laBanque.ouvrirCompte("Jean","password");
	laBanque.ouvrirCompte("La Fougere","password");

        laBanque.deposer(1500,laBanque.getCompte("Jean","password"));
    laBanque.deposer(150,laBanque.getCompte("La Fougere","password"));

        laBanque.retirer(1400, laBanque.getCompte("Jean","password"));
 	laBanque.retirer(140, laBanque.getCompte("La Fougere","password"));

 System.out.println(laBanque.Solde(laBanque.getCompte("Jean","password")));
 System.out.println(laBanque.Solde(laBanque.getCompte("La Fougere","password")));
	
	laBanque.fermerCompte("Jean","password");
				   laBanque.fermerCompte("La Fougere","password"); 
				   } catch (Exception e) { System.out.println("\n"+e); }

}

}
